package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Option;
import org.bson.types.ObjectId;

import java.util.List;
import java.util.Map;

/**
 * @Desciption:test
 * @Create by:金木yan
 * @Date: 2021/12/11 17:34
 */
public interface OptionsApi {
    //根据试题id查询试题选项集合
    Map<ObjectId, List<Option>> findByQuestionId(ObjectId questionId);

    //查询该选项得分
    Integer findById(String id);
}
